package com.ljtxxhwj.myblob.entity;

import lombok.Data;

/**
 * Entity representing the many-to-many relationship between favorite folders and favorites.
 */
@Data
public class FavoriteFolderHasFavorite {
    private Integer favoriteFolderId;   // 收藏夹的ID
    private Integer favoriteFavoriteId; // 收藏的ID

    // Constructors, getters and setters
    public FavoriteFolderHasFavorite() {
    }

    public FavoriteFolderHasFavorite(Integer favoriteFolderId, Integer favoriteFavoriteId) {
        this.favoriteFolderId = favoriteFolderId;
        this.favoriteFavoriteId = favoriteFavoriteId;
    }

    public Integer getFavoriteFolderId() {
        return favoriteFolderId;
    }

    public void setFavoriteFolderId(Integer favoriteFolderId) {
        this.favoriteFolderId = favoriteFolderId;
    }

    public Integer getFavoriteFavoriteId() {
        return favoriteFavoriteId;
    }

    public void setFavoriteFavoriteId(Integer favoriteFavoriteId) {
        this.favoriteFavoriteId = favoriteFavoriteId;
    }
}